package com.tantinale.miaoshaproject.service;

import com.tantinale.miaoshaproject.error.BusinessException;
import com.tantinale.miaoshaproject.service.model.OrderModel;

public interface OrderService {
    //通过前端url传来promoId
    OrderModel createOrder(Integer userId,Integer itemId,Integer promoId, Integer amount) throws BusinessException;
}
